package com.achievement.service;

import com.achievement.domain.dto.StandardDTO;
import com.achievement.domain.entity.StandardEntity;
import com.achievement.domain.param.StandardParam;
import com.achievement.domain.vo.StandardVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;


public interface IStandardService extends IService<StandardEntity>, BusinessApi
{
    List<StandardVO> selectByPage(StandardParam param);

    List<StandardVO> getListByConditions(StandardParam param);
    StandardVO getInfoById(String id);


    AjaxResult add(StandardDTO dto);

    AjaxResult update(StandardDTO dto);

    boolean batchRemove(List<String> ids);


    List<HashMap<String, Integer>> listStatistics(StandardParam param);
}
